package com.xh.bussiness.tiku.bean.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xh.core.bean.BaseRequestBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 试卷表 查询bean
 * </p>
 *
 * @author daiwei
 * @since 2019-01-14
 */
@Data
@ApiModel
public class  PaperQueryRequest extends BaseRequestBean {

    private String id;
    @ApiModelProperty("试卷类别 2：个人库， 1：标准组卷")
    private Integer type;

    @ApiModelProperty("创建人id")
    private String creatorId;

    @ApiModelProperty("学段")
    private String gradeRangeId;

    @ApiModelProperty("试卷名称")
    private String title;
    /**
     * 学科ID
     */
    @ApiModelProperty("学科ID")
    private String subjectId;
    private String subjectName;

    /**
     */
    @ApiModelProperty("类别")
    private String categoryId;

    /**
     * 学期：春夏秋冬
     */
    @ApiModelProperty("学期：春夏秋冬")
    private String season;
    private String seasonName;

    /**
     * 年份
     */
    @ApiModelProperty("年份")
    private String year;
    private String yearName;

    @ApiModelProperty("年份集合")
    private List<String> years;

    @ApiModelProperty("年级")
    private String gradeId;
    private String gradeName;

    @ApiModelProperty("年级集合")
    private List<String> gradeIds;

    /**
     * 来源
     */
    @ApiModelProperty("来源")
    private String source;
    /**
     * 地区
     */
    @ApiModelProperty("地区")
    private String provinceId;

    /**
     * 市区id
     */
    @ApiModelProperty("市区id")
    private String cityId;

    /**
     * 区县id
     */
    @ApiModelProperty("区县id")
    private String county;

    /**
     * 审核状态
     */
    @ApiModelProperty("审核状态")
    private Integer checkStatus;


    @ApiModelProperty("市区id")
    private String longwenCityId;

    @ApiModelProperty("过滤某种试卷类型 1 手动组卷 2 智能组卷 3 上传试卷 4 试题批量导入保存原卷 5 学科网组卷")
    private Integer neSourceFrom;

    /**
     * 练习分类（1：进门测，2：过手练，3:出门测,4：作业）
     **/
    private Integer exerciseType;

    @ApiModelProperty("是否是入学测（0：否1：是）")
    private Integer isEntranceTest;

    /**
     * 班型id
     **/
    private String courseTypeId;
    private String  courseTypeName;

    /**
     * 教材版本id
     **/
    private String teacherBookVersionId;
    private String bookVersionName;
    private Date modifyTime;
    private Integer totalScore;
    private String filePath;

    private String qrCodeUrl;
    private Integer status;
    private Integer answerCount;
    private Integer useTime;
    private String creatorName;

    @ApiModelProperty("修改开始时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date modifyStartTime;

    @ApiModelProperty("修改结束时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date modifyEndTime;

    /**
     * 是不是标准同步练习，0-否  1-是
     */
    private Integer standardExercise;
}
